<div class="content-box">
	<div class="content-box-header">
		<h3>Add / Update</h3>
		<div class="clear"></div>
	</div> 
	<div class="content-box-content">
		<div class="">
			<form action="<?=base_url().'admincp/'.$module.'/save'?>" method="post">
				<input type="hidden" value="<?=$id?>" name="hiddenId" />
				<fieldset>
					<p>
						<label>Status</label>
						<input type="checkbox" name="status" <?php if(isset($result->status)){  if($result->status == 1) { print "checked='checked'"; } }else{ print "checked='checked'";}?>/>
					</p>
					<p>
						<label>Họ và tên</label>
							<input class="text-input small-input" type="text" id="small-input" name="fullname" value="<?php if(isset($result->fullname)){ print $result->fullname; }else{ print ''; }?>"/> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Họ và tên của người dùng</small>
					</p>
					<p>
						<label>Tài khoản</label>
							<input class="text-input small-input" type="text" id="small-input" name="username" value="<?php if(isset($result->username)){ print $result->username; }else{ print ''; }?>" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Tên đăng nhập</small>
					</p>
					<p>
						<label>Email</label>
							<input class="text-input small-input" type="text" id="small-input" name="email" value="<?php if(isset($result->email)){ print $result->email; }else{ print ''; }?>" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Email</small>
					</p>
					<p>
						<label>Mật khẩu</label>
							<input class="text-input small-input" type="password" id="small-input" name="password"/> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Mật khẩu đăng nhập</small>
					</p>
					<p>
						<label>Giới tính</label>
						<input type="radio" name="sex" value="1" <?php if(isset($result->sex)){  if($result->sex == 1) { print "checked"; } }else{ print "checked";}?>/> Nam &nbsp;
						<input type="radio" name="sex" value="0" <?php if(isset($result->sex)){  if($result->sex == 0) { print "checked"; } }?>/> Nữ
					</p>
					<p>
						<label>Điện thoại</label>
							<input class="text-input small-input" type="text" id="small-input" name="phone" value="<?php if(isset($result->phone)){ print $result->phone; }else{ print ''; }?>" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Điện thoại</small>
					</p>
					<p>
						<label>Địa chỉ</label>
							<input class="text-input small-input" type="text" id="small-input" name="address" value="<?php if(isset($result->address)){ print $result->address; }else{ print ''; }?>" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
							<br /><small>Địa chỉ liên lạc</small>
					</p>
					<p>
						<input class="button" type="submit" value="Submit" />
					</p>
				</fieldset>
				<div class="clear"></div>
			</form>
		</div>  
	</div> 
</div> 